import request from '@/utils/request'
function getUrl(url) { return '/api/' + url }

//添加警报跟踪信息
export function addInFireAlarmAction(data) {
    return request({
        url: getUrl("admin/fireAlarmAction/addInFireAlarmAction"),
        method: 'post',
        data
    })
}

//更新警报跟踪信息
export function updateInFireAlarmAction(data) {
    return request({
        url: getUrl("admin/fireAlarmAction/updateInFireAlarmAction"),
        method: 'post',
        data
    })
}


export function deleteInFireAlarmAction(data) {
    return request({
        url: getUrl("admin/fireAlarmAction/deleteInFireAlarmAction"),
        method: 'post',
        data
    })
}


//获取警报跟踪信息数据 getInFireAlarmActionVo
export function getInFireAlarmActionVo(data) {
    return request({
        url: getUrl("admin/fireAlarmAction/getInFireAlarmActionVo"),
        method: 'post',
        data
    })
}